function EntityView_Refresh(id, entityName, entityID, orientation)
{
    var cont = document.getElementById(id);
    var response = EntityView.GetHTML(entityName, entityID, orientation);
    
    if (response.error)
        alert(response.error);
    else
        cont.innerHTML = response.value;
}    

function EntityView_Clean(id)
{
    var cont = document.getElementById(id);
    cont.innerHTML = "&nbsp";
}
